1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%7B%7Bsubcatdata21.sub_cat_url%7D%7D' at line 1

Select article_id,article_page_url,category_id,sub_category_id from article_master_206m Where article_id=%7B%7Bsubcatdata21.sub_cat_url%7D%7D

Error